/**
 * 入口
 */
import React from "react";
import "../css/style.scss";
export default class App extends React.Component {
    componentDidMount() {
        //初始化微信
        if (wx) {
            wx.ready(function () {
            });
            wx.error(function (res) {
            });
            wx.config(window.jsParams);
        }
    }

    render() {
        return (
            <div className="app">{this.props.children}</div>
        )
    }
}